﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CGT.Infrastructure.Enums
{
    /// <summary>
    /// 操作日志事件类型
    /// </summary>
    public enum OperateIncidentTypeEnum
    {
        [Description("增")]
        Add = 1,
        [Description("删")]
        Delete = 2,
        [Description("改")]
        Edit = 3,
        [Description("查")]
        Search = 4
    }

    /// <summary>
    /// 登陆日志事件类型
    /// </summary>
    public enum LoginIncidentTypeEnum
    {
        [Description("登录")]
        Login = 1,
        [Description("登出")]
        Logout = 2
    }

    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderStateEnum
    {
        /// <summary>
        /// 待审核
        /// </summary>
        [Description("待审核")]
        WaitAudit = 1,
        /// <summary>
        /// 待付款
        /// </summary>
        [Description("待付款")]
        WaitPayment = 2,
        /// <summary>
        /// 办理中
        /// </summary>
        [Description("办理中")]
        InProcess = 3,
        /// <summary>
        /// 完成
        /// </summary>
        [Description("完成")]
        Complete = 4,
        /// <summary>
        /// 审核驳回
        /// </summary>
        [Description("审核驳回")]
        Reject = 5,
        /// <summary>
        /// 过期
        /// </summary>
        [Description("过期")]
        Expire = 6
    }

    /// <summary>
    /// 支付状态
    /// </summary>
    public enum PayStateEnum
    {
        /// <summary>
        /// 等待付款
        /// </summary>
        [Description("等待付款")]
        WaitPay = 1,
        /// <summary>
        /// 已经付款
        /// </summary>
        [Description("已经付款")]
        Payed = 2
    }
}
